/*
File      : ClientImplementation.java - used to implement all methods of ClientInterface.
Author    : Kunal Cholera.
Project 4 : Group Chat Application using Java RMI - Remote Method Invocation.
Course    : Distributed Systems.
Institute : University of Southern California - Viterbi School of Engineering.

*/
import java.rmi.*;
import java.rmi.server.*;

public class ClientImplementation extends UnicastRemoteObject implements ClientInterface{
	
	int client_id;
	
	public ClientImplementation( int id ) throws RemoteException{
		super();
		client_id = id;
	}
	
	public int getClientId(){
		return client_id;
	}
	
	public void notifyClient( String message ){
	  System.out.println( message );	
	}
	
}// end ClientImplementation